package com.lsh.payment.core.service.refund;

import com.lsh.payment.core.model.payenum.RefundStatus;
import com.lsh.payment.core.model.refund.PayRefund;

/**
 * Project Name: lsh-payment
 *
 * @author peter
 * @date 18/6/1
 * 北京链商电子商务有限公司
 * Package
 * desc:
 */
public interface IRefundOrderStatusService {
    /**
     * 退款单状态流转
     *
     * @param payRefund  退款对象
     * @param addJopFlag flag
     * @return 成功标记
     */
    boolean modifyStatus(PayRefund payRefund, boolean addJopFlag);

    /**
     * 其实状态
     *
     * @return RefundStatus
     */
    RefundStatus getSourceStatus();

    /**
     * 目标状态
     *
     * @return RefundStatus
     */
    RefundStatus getTargetStatus();
}
